<template>
  <el-form ref="form" :model="form" label-width="120px">
    <el-row v-for="(item, index) in form.list" :key="index">
      <el-col :sm="12" :lg="8" class="item">
        <el-form-item label="阈值" :prop="'list.' + index + '.min'">
          <el-input-number v-model="item.min" :min="0" :max="1e8" :precision="0" controls-position="right" placeholder="请输入阈值" style="width: 100%" />
        </el-form-item>
      </el-col>
    </el-row>
  </el-form>
</template>
<script>
// 合格条款
import RdcRuleMixin from './mixin'
export default {
  mixins: [RdcRuleMixin],
  data() {
    return { initItem: { min: 0 }, addBtn: false }
  }
}
</script>
<style lang="scss" scoped>
.item {
  background-color: #eef1f6;
  border-radius: 8px;
  padding: 10px 15px 0 0;
}
</style>
